home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 8 / QRZ Ham Radio Callsign Database - Volume 8.iso / pc / files / p_tapr / statecd.arc / STATE01.TXT < prev    next >
Text File  |  1988-09-03  |  5KB  |  105 lines

  1.  
  2. ******************* FILE 2 of 6 FILES **********************
  3.  
  4. (C) 31 JUL 88
  5.  
  6. Eric Gustafson,  N7CL
  7. 2018 S. Avenida Planeta
  8. Tucson, AZ 85710
  9.  
  10.  
  11.  
  12.           DPLL  Derived Data Carrier Detect (DCD)
  13.           For Filter Based and Single Chip Modems
  14.  
  15.  
  16.                     CIRCUIT DESCRIPTION
  17.  
  18. The  circuit diagram is presented in Figure 1.   This is  an 
  19. ASCII  representation of the schematic diagram.   While this 
  20. isn't  really a proper "standard" diagram,  I believe it  is 
  21. readable enough to be used to duplicate the circuit.  It has 
  22. the  beneficial  characteristic that it requires no  CAD  or 
  23. special  graphics software to be able to view  the  diagram.  
  24. Thanks  to  Mykle Raymond,  N7JZT,  for making up  this  BBS 
  25. forwardable ASCII schematic.
  26.  
  27. Figure 1 is contained in the last file in this series.
  28.  
  29. The  circuit consists of the state machine used in the TNC-2 
  30. and some delay elements used to make the DCD decision.   The 
  31. state  machine  is  formed from the 74HC374  and  the  27C64 
  32. chips.   The 74HC14 is used as a pair of retriggerable delay 
  33. elements and for signal inversion and buffering.
  34.  
  35. The 27C64 with the state machine code already burned into it 
  36. can be obtained directly from TAPR.  If you wish to use this 
  37. source for the part, please call Chris at (602)-323-1710 for 
  38. price  and availability information.   This same code is  in 
  39. the state machine ROM in any full TNC-2 clone which uses the 
  40. 2211  demodulator and Z80 SIO.   If sufficient  interest  is 
  41. shown in this circuit,  maybe we can cajole TAPR into making 
  42. circuit  boards  available.   This would vastly  reduce  the 
  43. wiring task.
  44.  
  45. One  of the state machine signals (which was not used in the 
  46. TNC-2) appears on pin 19 of the 27C64.   This signal is  the 
  47. DPLL update pulse.   As long as the DPLL is correctly locked 
  48. to  the  incoming data,  no pulses will appear on this  pin. 
  49. When  the  DPLL is not locked to an  incoming  data  stream, 
  50. there will be a continuous stream of pulses on this pin.
  51.  
  52. The  DPLL update signal is used in this circuit to retrigger 
  53. the  first delay element so that it never times out so  long 
  54. as DPLL update pulses are present.  If the pulses disappear, 
  55. the delay element times out and generates the DCD signal.
  56.  
  57. The  output  from the first delay element keeps  the  second 
  58. delay  element triggered so long as DCD is true.   When  DCD 
  59. goes  false,  the  second  delay element  begins  a  timeout 
  60. sequence  which keeps the DCD output true until the  timeout 
  61. period expires.  This is the source of the DCD "hang time".
  62.  
  63. While  the circuit presented here is primarily intended  for 
  64. 1200 baud VHF FM operation,  it will also work well for  300 
  65. baud HF packet work.   If this is your application, the time 
  66. constants on the delay elements will have to be adjusted.  
  67.  
  68. The time constant of the "hang" generator (0.47 uF cap) will 
  69. have  to  be  increased for 300 baud operation so  that  the 
  70. total capacitance is 2.0 uF.
  71.  
  72. The  time  constant which is optimum for the  DCD  generator 
  73. (the  0.1  uF  cap in fig.  1) will depend on  a  number  of 
  74. factors  including the bandwidth of the radio used ahead  of 
  75. the  modem.
  76.  
  77. You  should  pick  a  value  for  the  DCD  generator  delay 
  78. capacitor such that the DCD circuit produces approximately a 
  79. 10 percent duty cycle of false DCD "ON" time.  The false DCD 
  80. ON  time should be observed while monitoring receiver  noise 
  81. on  a  channel which is ABSOLUTELY free of   ANY  narrowband 
  82. signals which fall within the demodulator's passband.   This 
  83. includes CW,  RTTY,  internal receiver birdies, AM carriers, 
  84. computer  spurs,  packet data carriers,  etc.  A good way to 
  85. assure  this  is  to let the receiver  monitor  the  S-9  or 
  86. greater  output of a noise bridge with no antenna connected. 
  87. Remember  to  have  the  filter  of  appropriate   bandwidth 
  88. selected  and  centered  over the modem  passband.   for  HF 
  89. packet,  this is a 500 Hz filter as is normally used for  CW 
  90. and RTTY operation.
  91.  
  92. The  DCD generator delay capacitor will probably need to  be 
  93. somewhere in the range of 2 to 4 times the 0.1 uF value used 
  94. for 1200 baud.
  95.  
  96. Both  negative  true  and  positive  true  DCD  outputs  are 
  97. provided so that you may use the polarity which is  required 
  98. by your TNC.   Also,  JMP1 and JMP2 allow the DCD circuit to 
  99. be configured to operate correctly from either a positive or  
  100. negative  true CD output from whichever modem chip is  found 
  101. in your TNC.
  102.  
  103. (continued in file #3)
  104.  
  105. EOF